[XM-TEST] Fix network tests for -route and -nat
authorkaf24@localhost.localdomain <kaf24@localhost.localdomain>
Sat, 12 Aug 2006 14:58:52 +0000 (15:58 +0100)
committerkaf24@localhost.localdomain <kaf24@localhost.localdomain>
Sat, 12 Aug 2006 14:58:52 +0000 (15:58 +0100)
commitec0ebb15e535c111620fe47d90a24852a37f68ca
tree429a275801438a5cacfe838625e8d8d6aabba3da
parentd086c32a4ac19333a9f2470454e624b3cffbefe7
[XM-TEST] Fix network tests for -route and -nat

vif-nat and vif-route need to know domU ethX IP addresses in order to set
up the appropriate routes.The new network test infrastructure is not
providing the IP address on the vif line in /tmp/xm-test.conf; adding
it turns out to be a one-liner.

Tested with xm-test running with -bridge, -route, and -nat network
scripts.

Signed-off-by: Jim Dykman <dykman@us.ibm.com>
tools/xm-test/lib/XmTestLib/XenDevice.py